M[Symbol.iterator]
Bun

method

CookieMap.[Symbol.iterator]

[Symbol.iterator](): IterableIterator<[string, string]>;

Returns the default iterator for the CookieMap. Used by for...of loops to iterate over all entries.

@returns

An iterator for the entries in the map